diff options
Diffstat (limited to 'apps/web/src/app/api/auth/[...all]/route.ts')
| -rw-r--r-- | apps/web/src/app/api/auth/[...all]/route.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/web/src/app/api/auth/[...all]/route.ts b/apps/web/src/app/api/auth/[...all]/route.ts new file mode 100644 index 00000000..1fb57443 --- /dev/null +++ b/apps/web/src/app/api/auth/[...all]/route.ts @@ -0,0 +1,4 @@ +import { auth } from "@/lib/auth";
+import { toNextJsHandler } from "better-auth/next-js";
+
+export const { POST, GET } = toNextJsHandler(auth);
\ No newline at end of file |
